package com.example.demo.service;

import com.example.demo.enums.ImportEnum;
import com.ffcs.oss.param.out.ServiceResp;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 用户管理接口
 * @Author zmf
 * @Date 2018/12/12  18:38
 */
public interface ExcelService {
    void exportExcel(HttpServletRequest request, HttpServletResponse response, String[] strEname, String[] strCname, String exportFileName, String sheetName, Integer ExportType, String evtStr) throws Exception;

    void exportRoleExcel(HttpServletRequest request, HttpServletResponse response, String exportFileName, Integer ExportType) throws Exception;

    void downloadModel(HttpServletRequest request, HttpServletResponse response,String fileName) throws Exception;

    ServiceResp importData(MultipartFile file, ImportEnum importEnum, ImportEnum notNullEnum);
}
